package com.fps.webshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fps.webshop.common.utils.PageUtils;
import com.fps.webshop.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author fanpengsen
 * @email fanpengsen@qq.com
 * @date 2021-07-20 11:20:21
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
    /**
     * 获取树形结构商品分类
     *
     * @return
     */
    List<CategoryEntity> getListToTree();
    
    
    /**
     * 删除商品分类
     *
     * @param catIds
     */
    void removeMenusByIds(List<Long> catIds);
}

